/**
 * @author shenxw
 * xspring-ibatiscom.sendinfo.xspring.ibatis.spring.mutildatesourceDbContextHolder.java
 * 2011-2-15下午04:10:54
 */
package com.sendinfo.xspring.ibatis.spring.mutildatesource;

public class DbContextHolder {

	private static final ThreadLocal contexthodler = new ThreadLocal();
	
	public static void setDbType(String dbType){
		contexthodler.set(dbType);
	}
	
	public static String getDbType(){
		return (String) contexthodler.get();
	}
	
	public static void clearDbType(){
		contexthodler.remove();
	}
}
